package com.vonzhou.javainternals;

import java.util.*;

/**
 * Created by vonzhou on 16/4/3.
 */
public class LearnCollection {
	public static void main(String[] args) {
		diff();
	}

	/**
	 * 高清ArrayList, LinkedList, Vector的区别
	 */
	public static void diff() {
		List list = new ArrayList();
		list.add(new Date());
		list.add("vonzhou ArrayList");
		System.out.println(list);

		List list2 = new LinkedList();
		list2.add(new Date());
		list2.add("vonzhou LinkedList");
		System.out.println(list2);


		List list3 = new Vector();
		list3.add(new Date());
		list3.add("vonzhou Vector");
		System.out.println(list3);

	}
}


